﻿using System.Collections.Generic;

namespace Jailu.AutoUpdater
{
    public class QueueStartedEventArgs
    {
        public long TotalSize { get; internal set; }

        /// <summary>
        /// The files need to be updated
        /// </summary>
        public List<File> Files { get; internal set; }
    }

    public class FileStartedEventArgs
    {
        public File File { get; internal set; }
    }

    public class FileFinishedEventArgs
    {
        public File File { get; internal set; }
    }

    public class FileProgressChangedEventArgs
    {
        public File File { get; internal set; }

        public long DownloadedSize { get; internal set; }

        public double Speed { get; internal set; }
    }

    public class QueueFinishedEventArgs
    {

    }

    public class NewVersionInstallationStartedEventArgs
    {

    }

    public class NewVersionInstallationFinishedEventArgs
    {

    }
}
